package cn.ainit.sys.print.entity;
// default package

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * SysPrint entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="SYS_PRINT")

public class SysPrint  implements java.io.Serializable {


    // Fields    

     private SysPrintId id;
     private String modelName;
     private String url;
     private String zsql;
     private String zpk;
     private String msql;
     private String mtiaojian;
     private String jsp;
     


    // Constructors

    /** default constructor */
    public SysPrint() {
    }

	/** minimal constructor */
    public SysPrint(SysPrintId id) {
        this.id = id;
    }
  
   
    @EmbeddedId
    
    @AttributeOverrides( {
        @AttributeOverride(name="dsId", column=@Column(name="DS_ID", nullable=false, length=32) ), 
        @AttributeOverride(name="name", column=@Column(name="NAME", nullable=false, length=50) ) } )

    public SysPrintId getId() {
        return this.id;
    }
    
    public void setId(SysPrintId id) {
        this.id = id;
    }
    
    @Column(name="MODEL_NAME", length=100)

    public String getModelName() {
        return this.modelName;
    }
    
    public void setModelName(String modelName) {
        this.modelName = modelName;
    }
    
    @Column(name="URL", length=250)

    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }
    
    @Column(name="ZSQL", length=4000)
    public String getZsql() {
        return this.zsql;
    }
    
    public void setZsql(String zsql) {
        this.zsql = zsql;
    }
    
    @Column(name="ZPK", length=50)

    public String getZpk() {
        return this.zpk;
    }
    
    public void setZpk(String zpk) {
        this.zpk = zpk;
    }
    
    @Column(name="MSQL", length=4000)

    public String getMsql() {
        return this.msql;
    }
    
    public void setMsql(String msql) {
        this.msql = msql;
    }
    
    @Column(name="MTIAOJIAN", length=4000)

    public String getMtiaojian() {
        return this.mtiaojian;
    }
    
    public void setMtiaojian(String mtiaojian) {
        this.mtiaojian = mtiaojian;
    }
    @Column(name="JSP")
	public String getJsp() {
		return jsp;
	}

	public void setJsp(String jsp) {
		this.jsp = jsp;
	}
   
}